import Vue from 'vue'
import 'element-ui/lib/theme-chalk/index.css'
import {
  Button, Form, FormItem, Input, Message, Menu, Container, Aside, Main, Footer, Submenu, MenuItem, Tabs, TabPane, Row, Col, Autocomplete, DatePicker, Table, TableColumn, InputNumber, Option, Select,
  Divider, Carousel, CarouselItem, Descriptions, DescriptionsItem, Checkbox, CheckboxButton, CheckboxGroup, Switch, Loading, Drawer, Dialog
} from 'element-ui'

Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Menu)
Vue.use(Container)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Footer)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Row)
Vue.use(Col)
Vue.use(Autocomplete)
Vue.use(DatePicker)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(InputNumber)
Vue.use(Select)
Vue.use(Option)
Vue.use(Divider)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Descriptions)
Vue.use(DescriptionsItem)
Vue.use(Checkbox)
Vue.use(CheckboxButton)
Vue.use(CheckboxGroup)
Vue.use(Switch)
Vue.use(Loading)
Vue.use(Drawer)
Vue.use(Dialog)

Vue.prototype.$message = Message
